<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
</head>
<body>


<h1>添加学生</h1>

<form action="${path}/student?method=add" method="post">
    <p>学号:<input type="text" name="stuNo" placeholder="请输入学号"></p> <span id="msg"></span>
    <p>姓名:<input type="text" name="stuName" placeholder="请输入学生姓名"></p>
    <p>年龄:<input type="text" name="stuAge" placeholder="请输入学生年龄"></p>
    <p>生日:<input type="text" name="stuBirth" placeholder="yyyy-MM-dd" ></p>
    <p><input type="submit" value="添加"></p>
</form>

<span style="color: red">${addInfo}</span>
</body>
</html>
